﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SendMessageedit.aspx.cs" Inherits="MxWeiXinPF.Web.admin.users.SendMessageedit" ValidateRequest="false" %>
<%@ Import namespace="MxWeiXinPF.Common" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>编辑用药提醒</title>
<script type="text/javascript" src="../../scripts/jquery/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="../../scripts/jquery/Validform_v5.3.2_min.js"></script>
<script type="text/javascript" src="../../scripts/lhgdialog/lhgdialog.js?skin=idialog"></script>
<script type="text/javascript" src="../../scripts/datepicker/WdatePicker.js"></script>
<script type="text/javascript" src="../../scripts/swfupload/swfupload.js"></script>
<script type="text/javascript" src="../../scripts/swfupload/swfupload.queue.js"></script>
<script type="text/javascript" src="../../scripts/swfupload/swfupload.handlers.js"></script>
<script type="text/javascript" src="../js/layout.js"></script>
<link href="../skin/default/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
    $(function () {
        //初始化表单验证
        $("#form1").initValidform();
        //初始化上传控件
        $(".upload-img").each(function () {
            $(this).InitSWFUpload({ sendurl: "../../tools/upload_ajax.ashx", flashurl: "../../scripts/swfupload/swfupload.swf" });
        });
    });
</script>
</head>

<body class="mainbody">
<form id="form1" runat="server">
<!--导航栏-->
<div class="location">
  <a href="SendMessagelist.aspx" class="back"><i></i><span>返回列表页</span></a>
  <a href="../center.aspx" class="home"><i></i><span>首页</span></a>
  <i class="arrow"></i>
  <span>用药提醒</span>
  <i class="arrow"></i>
  <span>用药提醒</span>
</div>
<div class="line10"></div>
<!--/导航栏-->

<!--内容-->
<div class="tab-content">
   <dl>
    <dt>客户姓名</dt>
    <dd><asp:TextBox ID="txtUserName" runat="server" CssClass="input normal" datatype="*2-100" sucmsg=" " ></asp:TextBox> <span class="Validform_checktip">*客户姓名</span></dd>
  </dl> 
  <dl>
    <dt>手机号码</dt>
    <dd><asp:TextBox ID="txtMobile" runat="server" CssClass="input normal" datatype="*11-11" nullmsg="手机号码不能为空" errormsg="请输入正确的手机号码" sucmsg=" "></asp:TextBox></dd>
  </dl> 
  <dl>
    <dt>短信内容</dt>
    <dd><asp:TextBox ID="txtMessageContent" runat="server" CssClass="input normal" datatype="*5-250" nullmsg="短信内容不能为空" errormsg="至少5个汉字" sucmsg=" "></asp:TextBox></dd>
  </dl>
    <dl>
    <dt>商品名称</dt>
    <dd><asp:TextBox ID="txtproductname" runat="server" CssClass="input normal" datatype="*" nullmsg="商品名称不能为空" errormsg="商品名称不能为空" sucmsg=" "></asp:TextBox></dd>
  </dl>
    <dl>
    <dt>购买总量</dt>
    <dd>
      <asp:TextBox ID="txtPurchaseQty" runat="server" CssClass="input small" datatype="n" nullmsg="购买总量不能为空" sucmsg=" ">0</asp:TextBox><span class="Validform_checktip">*购买总量与每天用量用于计算提醒天数</span>
    </dd>
  </dl>
    <dl>
    <dt>每日用量</dt>
    <dd>
      <asp:TextBox ID="txtUsedQty" runat="server" CssClass="input small" datatype="n" nullmsg="购买总量不能为空" sucmsg=" ">0</asp:TextBox><span class="Validform_checktip">*购买总量与每天用量用于计算提醒天数</span>
    </dd>
  </dl>
  <dl>
    <dt>发货日期</dt>
    <dd>
      <div class="input-date">
        <asp:TextBox ID="txtPurchaseDate" runat="server" CssClass="input normal date" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" datatype="/^\s*$|^\d{4}\-\d{1,2}\-\d{1,2}$/" nullmsg="日期不能为空" errormsg="请选择正确的日期" sucmsg=" " />
        <i>日期</i>
      </div>
    </dd>
  </dl>
    <dl>
    <dt>提前日期</dt>
    <dd>
       <asp:DropDownList ID="ddltqts" runat="server">
                            <asp:ListItem Value="1">提前一天</asp:ListItem>
                            <asp:ListItem Value="2">提前二天</asp:ListItem>
                            <asp:ListItem Value="3" Selected="true">提前三天</asp:ListItem>
                            <asp:ListItem Value="4">提前四天</asp:ListItem>
                            <asp:ListItem Value="5">提前五天</asp:ListItem>
                            <asp:ListItem Value="6">提前六天</asp:ListItem>
                            <asp:ListItem Value="7">提前七天</asp:ListItem>
                            <asp:ListItem Value="8">提前八天</asp:ListItem>
                            <asp:ListItem Value="9">提前九天</asp:ListItem>
                            <asp:ListItem Value="10">提前10天</asp:ListItem>
                            <asp:ListItem Value="11">提前十一天</asp:ListItem>
                            <asp:ListItem Value="12">提前十二天</asp:ListItem>
                            <asp:ListItem Value="13">提前十三天</asp:ListItem>
                            <asp:ListItem Value="14">提前十四天</asp:ListItem>
                            <asp:ListItem Value="15">提前十五</asp:ListItem>
                        </asp:DropDownList>  
    </dd>
  </dl>
</div>
<!--/内容-->

<!--工具栏-->
<div class="page-footer">
  <div class="btn-list">
    <asp:Button ID="btnSubmit" runat="server" Text="提交保存" CssClass="btn" onclick="btnSubmit_Click" />
    <input name="btnReturn" type="button" value="返回上一页" class="btn yellow" onclick="javascript: history.back(-1);" />
  </div>
  <div class="clear"></div>
</div>
<!--/工具栏-->

</form>
</body>
</html>
